package com.ly.demo.weixin.req;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author liuyang
 * @Date 2024/5/31 10:34
 **/
@Data
public class WXParamReq {
    private WXValueReq param1;
    private WXValueReq param2;

    private WXValueReq param3;

    private WXValueReq param4;

    private WXValueReq param5;
    @Data
    @AllArgsConstructor
    class WXValueReq{
        private String value;
    }

    public WXParamReq(String param1) {
        this.param1 = new WXValueReq(param1);
    }

    public WXParamReq(String param1, String param2) {
        this.param1 = new WXValueReq(param1);
        this.param2 = new WXValueReq(param2);
    }
    public WXParamReq(String param1, String param2, String param3) {
        this.param1 = new WXValueReq(param1);
        this.param2 = new WXValueReq(param2);
        this.param3 = new WXValueReq(param3);
    }
    public WXParamReq(String param1, String param2, String param3, String param4) {
        this.param1 = new WXValueReq(param1);
        this.param2 = new WXValueReq(param2);
        this.param3 = new WXValueReq(param3);
        this.param4 = new WXValueReq(param4);
    }
    public WXParamReq(String param1, String param2, String param3, String param4, String param5) {
        this.param1 = new WXValueReq(param1);
        this.param2 = new WXValueReq(param2);
        this.param3 = new WXValueReq(param3);
        this.param4 = new WXValueReq(param4);
        this.param5 = new WXValueReq(param5);
    }
}
